package com.xuliugen.ssm.demo.service;

import com.xuliugen.ssm.demo.dto.SecurityUserDTO;

/**
 * Created by xuliugen on 2017/5/2.
 */
public interface SecurityUserService {

    SecurityUserDTO getUserById(Integer id);

    int getUserCountByUserName(String userName);

    int addUser(SecurityUserDTO userDTO);

    int updateUser(SecurityUserDTO userDTO);

    int delete(Integer userId);
}
